<template>
<div>
    <div class="bor">
        <el-row>
            <el-col :span="4">
                <div class="logo"><span v-for="login in findlogin">
                  <span v-if="login.id==7">{{ login.value }}</span>

                </span></div>
            </el-col>
        </el-row>
    </div>
</div>
</template>

<style scoped>
div.bor {
    padding: 0%;
    margin: 0%;
    width: 100%;
    background-color: #409eff;
    height: 50px;
}

.logo {
    width: 199px;
    line-height: 50px;
    height: 50px;
    background-color: #076fda;
    color: white;
}
</style>

<script>
import instance from "@/utlis/request";

export default {
    name: "Header",
  data(){
    return {
      findlogin:{},
    };
  },
  created:function (){
    this.initDate();
  },
  methods:{
    initDate:function (){
      instance.get("/Manage/FindUserConfig").then(res=>{
        this.findlogin=res.data.data
      })
    }
  }
}
</script>
